Skip to content

Conversation

@tohlh
Copy link
Contributor

@tohlh tohlh commented Apr 5, 2025

This PR's objective to add language options support to Source Academy. The use case for now is to allow instructors to configure the strictness of Source Typed variants.

This PR enables the assessments workspace to correctly fetch and process the new Library schema from the backend.

Please first merge the PR on js-slang before merging this one.

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one comment, thanks!

2?: string; // For mission control
}>;
moduleParams?: any;
languageOptions?: any;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check, can we avoid any here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have fixed this on the latest push. Thanks!

@coveralls
Copy link

Pull Request Test Coverage Report for Build 19103251689

Details

  • 23 of 36 (63.89%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 42.471%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/commons/sagas/WorkspaceSaga/helpers/blockExtraMethods.ts 4 5 80.0%
src/commons/sagas/WorkspaceSaga/helpers/evalEditor.ts 12 17 70.59%
src/commons/utils/JsSlangHelper.ts 1 8 12.5%
Totals Coverage Status
Change from base Build 18878649597: -0.001%
Covered Lines: 21117
Relevant Lines: 52081

💛 - Coveralls

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Let's test this out on .org

@RichDom2185 RichDom2185 merged commit 26f0931 into source-academy:master Nov 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants